@import url("//at.alicdn.com/t/font_331712_2zqs0qdw6340a4i.css");
@import url("//at.alicdn.com/t/font_435415_g3zvv932khme7b9.css");
/* You can add global styles to this file, and also import other style files */
.page-form-container {
  margin-top: 30px;
}

body {
  background: #f2f2f2;
  font-family: "Microsoft YaHei";
}

.ant-table-body th, .ant-table-body td {
  font-size: 14px;
}

//  file
.ui-file {
  padding: 0 20px;
  border-radius: 4px;
  text-align: center;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  min-width: 60px;
  height: 36px;
  border: 1px solid #DFDFDF;
  overflow: hidden;
  background-color: #fff;
  color: #666;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  user-select: none;
  cursor: pointer;
  line-height: 34px;
}

.ui-file:hover, .ui-file:focus {
  color: #333;
  background-color: #e6e6e6;
  border-color: #8c8c8c;
}

.ui-file i {
  vertical-align: middle;
  line-height: 34px;
  margin-right: 5px;
  font-size: 20px;
  color: #5cb85c;
  -webkit-text-stroke-width: 0;
}

//
//.ant-spin-dot i{
//  color:#5cb85c !important;
//}

.admin-spin .ant-spin-dot i {
  background-color: #5cb85c !important;
}

.admin-spin .ant-spin-text {
  color: #5cb85c !important;
}

.ui-file-input {
  font-size: 200px;
  position: absolute;
  right: 0;
  bottom: 0;
  opacity: 0;
  z-index: 1;
  cursor: pointer;
  filter: Alpha(opacity=1);
}

// ui-legend
legend {
  padding: 10px 0;
}

// form
.page-table-container {
  margin-top: 20px;
}

th .checkbox label, td .checkbox label {
  font-weight: inherit;
}

th .checkbox, td .checkbox {
  margin: 0;
}

.table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 0;
  padding: 14px 8px;
  font-weight: normal;
  background: #f8f8f8;
}

th, td {
  font-size: 12px;
}

.table {
  border-bottom: 1px solid #ddd;
}

.table-box {
  display: flex;
  display: -webkit-flex;
}

.table-photo-warp {
  width: 60px;
  height: 60px;
  overflow: hidden;
  min-width: 60px;
}

.table-photo-warp img {
  height: 100%;
  width: auto;
}

.table-msg-warp {
  margin-left: 10px;
}

.table-msg-title {
  height: 40px;
  line-height: 20px;
  overflow: hidden;
  word-break: break-all;
}

.table-msg-price {
  line-height: 20px;
}

// pages
.pagination li {
  cursor: pointer;
}

.paging {
  text-align: center;
  margin-top: 40px;
}

.paging .pagination {
  margin-bottom: 0;
}

.pagination > li > a, .pagination > li > span {
  color: #5cb85c;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
  background-color: #5cb85c;
  border-color: #4cae4c;
}

.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
  color: #5cb85c;
}
.admin-style .ant-switch-checked{
  background-color:#5cb85c;
}


// radio
.ui-radio {
  line-height: 28px;
  cursor: pointer;
  font-size: 0;
  display: inline-block;
  vertical-align: middle;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  user-select: none;
  position: relative;
  margin-right: 10px;
}

.ui-radio i {
  -webkit-transition: .2s;
  transition: .2s;
  margin-right: 8px;
  font-size: 22px;
  color: #c2c2c2;
  display: inline-block;
  vertical-align: middle;
  line-height: 28px;
  -webkit-text-stroke-width: 0;
}

.ui-radio span {
  display: inline-block;
  vertical-align: middle;
  font-size: 14px;
  line-height: 28px;
}

.ui-radio:hover i {
  color: #5cb85c;
}

.ui-radio.ui-radioed i {
  color: #5cb85c;
}

.ui-radio input {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

// ui-checkbox2
.ui-checkbox2 {
  position: relative;
  height: 30px;
  line-height: 28px;
  padding-right: 30px;
  border: 1px solid #d2d2d2;
  background-color: #fff;
  font-size: 0;
  border-radius: 2px;
  transition: .1s linear;
  -webkit-box-sizing: border-box !important;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  user-select: none;
  overflow: hidden;
  margin-right: 10px;
  margin-bottom: 10px;
}

.ui-checkbox2 span {
  line-height: 30px;
  padding: 0 10px;
  font-size: 14px;
  background-color: #d2d2d2;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: middle;
  -webkit-transition: .2s;
  transition: .2s;
}

.ui-checkbox2 i {
  line-height: 28px;
  position: absolute;
  right: 0;
  width: 30px;
  color: #fff;
  text-align: center;
  font-size: 20px;
  display: inline-block;
  vertical-align: middle;
  -webkit-transition: .2s;
  transition: .2s;
}

.ui-checkbox2:hover {
  border-color: #c2c2c2;
}

.ui-checkbox2:hover span {
  background-color: #c2c2c2;
}

.ui-checkbox2:hover i {
  color: #c2c2c2;
}

.ui-checkbox2.ui-checked {
  border-color: #5cb85c;
}

.ui-checkbox2.ui-checked span {
  background-color: #5cb85c;
}

.ui-checkbox2.ui-checked i {
  color: #5cb85c;
}

.ui-checkbox2 input {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

// tabs
.tabs-nav {
  border-bottom: 1px solid #e7e7e7;
  margin-bottom: 10px;
  margin-top: -10px;
}

.tab-item {
  display: inline-block;
  padding: 0 20px;
  position: relative;
  background: transparent;
  border: none;
  outline: none;
  color: #333333;
  line-height: 40px;
}

.tab-item:hover:after {
  content: '';
  position: absolute;
  width: 70%;
  height: 3px;
  bottom: 0;
  left: 15%;
  background: #4b0;
  z-index: 50;
  -webkit-animation: tab-item .5s forwards;
  -o-animation: tab-item .5s forwards;
  animation: tab-item .5s forwards;
}

.tab-item-active:after {
  content: '';
  position: absolute;
  width: 70%;
  height: 3px;
  bottom: 0;
  left: 15%;
  background: #4b0;
  z-index: 50;
}

@keyframes tab-item {
  0% {
    width: 0;
    left: 50%;
  }
  100% {
    width: 75%;
    left: 15%;
  }
}

.btn-md-long {
  width: 100px;
  margin: 0 10px;
}

.mt20 {
  margin-top: 20px;
}

.photo-box {
  width: 72px;
  height: 72px;
  position: relative;
}

.photo-box img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: block;
}

.photo-file {
  font-size: 50px;
  color: #ddd;
  width: 72px;
  height: 72px;
  text-align: center;
  line-height: 72px;
  border: 1px solid #ddd;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  background: #ffffff;
}

.opacity-0 {
  opacity: 0;
}

.text-right {
  text-align: right;
}

.table input[type=checkbox], .table input[type=radio] {
  margin-top: 2px;
}

.table .checkbox label, .table .radio label {
  min-height: 16px;
}

.btn-bor-success {
  border-color: #5cb85c;
  color: #5cb85c;
}

.btn-bor-success:hover, .btn-bor-success:focus {
  color: #449d44;
  border-color: #449d44;
  background: #e5eee5;
}

.back-to-list {
  margin-left: 30px;
}

.ml-15 {
  margin-left: 15px;
}

.mb5 {
  margin-bottom: 5px;
}

.has-sub-bar {
  position: fixed;
  left: 200px;
  overflow: auto;
}

.bg-gray {
  background: #eeeeee;
}

.bg-white {
  background: #ffffff;
}

body {
  /*overflow-y: scroll!important;*/
  padding-right: 0 !important;
}

// new rule
.checkbox-all {
  padding: 8px;
  float: left;
  margin: 0;
}

.form-photo-file {
  .photo-warp {
    width: 80px;
    height: 80px;
    position: relative;
  }
  .photo-show {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    display: block;
  }
  .photo-file {
    font-size: 50px;
    color: #ddd;
    width: 80px;
    height: 80px;
    text-align: center;
    line-height: 80px;
    border: 1px solid #ddd;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    background: #ffffff;
  }
  .photo-file-input {
    font-size: 200px;
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 0;
    z-index: 1;
    cursor: pointer;
    filter: Alpha(opacity=1);
  }
}

.require-red {
  margin-right: 5px;
  color: rgb(255, 0, 0);
}

.loading-container {
  width: 50px;
  height: 50px;
  background: #5ab530;
  border-radius: 100%;
  position: absolute;
  left: 5px;
  top: 5px;
}

.loading-container:after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 100%;
}

.loading-round {
  position: absolute;
  right: 0;
  top: 0;
  width: 10px;
  height: 10px;
  background: #5ab530;
  border-radius: 100%;
}

.loading-wrap {
  width: 60px;
  height: 60px;
  position: relative;
  margin: 20px auto;
  -webkit-animation: bosin 2s infinite;
  -o-animation: bosin 2s infinite;
  animation: bosin 2s infinite;
}

@keyframes bosin {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@-webkit-keyframes bosin {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.text-center {
  text-align: center;
}

.root-tips {
  text-align: center;
  margin-top: 100px;
  p {
    font-size: 16px;
  }
}

/* NG-ZORRO */
.p-pr {
  position: relative;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.ml-5 {
  margin-left: 5px;
}

.ml-7 {
  margin-left: 7px;
}

.ml-8 {
  margin-left: 8px;
}

.ml-10 {
  margin-left: 10px;
}

.ml-20 {
  margin-left: 20px;
}

.mt-5 {
  margin-top: 5px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-30 {
  margin-top: 30px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mr-5 {
  margin-right: 5px;
}

.mr-10 {
  margin-right: 10px;
}

.mr-40 {
  margin-right: 40px;
}

.ver-top {
  vertical-align: top;
}

.dis-inline {
  display: inline-block
}

.font-bold {
  font-weight: bold;
}

.ant-confirm-body {
  padding-top: 5px;
}

.sider-nofixed .ant-menu-inline {
  border-right: 0;
}

.ant-menu-item {
  outline: 0 !important;
}

.ant-menu-item-special {
  color: #108ee9;
  background-color: #ecf6fd;
}

.ant-menu-inline .ant-menu-item.ant-menu-item-special:after {
  transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);
  opacity: 1;
  transform: scaleY(1);
}

.menu-item-btn {
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.ant-menu-item:hover .menu-item-btn {
  opacity: 1;
}

.ant-table-content .ant-table-placeholder {
  border-bottom: 0;
}

.ant-badge-status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.ant-badge-status-default {
  background-color: #BFBFBF;
}

.ant-badge-status-error {
  background-color: #f5222d;
}

.ant-badge-status-success {
  background-color: #52c41a;
}

.ant-badge-status-processing {
  background-color: #1890ff;
  position: relative;
}

textarea {
  resize: none;
}

.qrcodeModal .ant-btn-ghost {
  display: none;
}

.ant-calendar-time .ant-calendar-footer .ant-calendar-today-btn, .ant-calendar-input-wrap {
  display: none;
  margin: -999999px !important;
}

.admin-style .ant-input:hover {
  border-color: #5cb85c !important;
}
.admin-style .ant-input:focus{

}

.admin-style .ant-spin-dot i {
  background-color: #5cb85c !important;
}

.admin-style .ant-spin-text {
  color: #5cb85c !important;
}

.admin-style .ant-btn-primary {
  //background-color:#5cb85c !important;
  background-color: #fff ;
  border-color: #5cb85c ;
  color: #5cb85c ;
}



.admin-style .ant-calendar-selected-day .ant-calendar-date{
  background-color: #5cb85c !important;
  border-color: #5cb85c !important;
  color: #FFF !important;
}

.admin-style .ant-pagination-item-active, .admin-style .ant-pagination-item-active:focus, .admin-style .ant-pagination-item-active:hover {
  background-color: #5cb85c !important;
  border-color: #5cb85c !important;
  color: #FFF !important;;
}

.admin-style .ant-pagination-item:focus, .admin-style .ant-pagination-item:hover {
  border-color: #5cb85c !important;
  color: #5cb85c !important;
}

.admin-style .ant-btn-ghost:hover, .admin-style .ant-btn-ghost:focus {
  color: #5cb85c !important;
  border-color: #5cb85c !important;
}

.admin-style .ant-btn:hover, .admin-style .ant-btn:focus {
  color: #5cb85c !important;
  border-color: #5cb85c !important;
}

.admin-style.ant-btn:hover, .admin-style.ant-btn:focus {
  color: #5cb85c !important;
  border-color: #5cb85c !important;
}

.admin-style .form-control:focus {
  border-color: #5cb85c !important;
}

.admin-style .ant-checkbox-checked .ant-checkbox-inner, .admin-style .ant-checkbox-indeterminate .ant-checkbox-inner {
  background-color: #5cb85c !important;
  border-color: #5cb85c !important;
}

.admin-style .ant-checkbox-wrapper:hover .ant-checkbox-inner, .ant-checkbox:hover .ant-checkbox-inner, .ant-checkbox-input:focus + .ant-checkbox-inner {
  border-color: #5cb85c !important;
}
.admin-style .ant-radio-wrapper:hover .ant-radio .ant-radio-inner, .ant-radio:hover .ant-radio-inner, .ant-radio-focused .ant-radio-inner{
  border-color: #5cb85c !important;
}

.admin-style .ant-radio-checked .ant-radio-inner{
  border-color: #5cb85c !important;
}
.admin-style .ant-radio-inner:after{
  background:#5cb85c !important;
}

.ant-pagination-item.ant-pagination-item-active a{
  color:#FFF !important;
}

.nz-overlay-container {
  z-index: 9999 !important;
}
//.keyword-tags .ant-tag-text{
//  color:#ccc;
//}

//.detail-tag .ant-tag {
//  color:#ccc !important;
//}


.search-cascader{
  float:left;
  .ant-input{
    height:35px;
  }
}

.nz-overlay-pane{
  z-index:10002 !important;
}

.admin-style .ant-tabs-nav .ant-tabs-tab-active,.admin-style .ant-tabs-nav .ant-tabs-tab:hover,.admin-style a{
  color:#5cb85c !important;
}
.admin-style .ant-tabs-ink-bar{
  background-color:#5cb85c !important;
}
.admin-style .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus{
  color:#FFF !important;
}

.admin-style .active-form-save #editorElem > div:last-child {
  height:300px !important;
}
